//
//  ViewController.m
//  CycleScrollViewDemo
//
//  Created by 张雪东 on 15/12/22.
//  Copyright © 2015年 张雪东. All rights reserved.
//

#import "ViewController.h"
#import "cycleScrollView.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    cycleScrollView *loopV = [[cycleScrollView alloc]init];
    loopV.imageNames = @[@"img_00",@"img_01",@"img_02",@"img_03",@"img_04"];
    loopV.frame = CGRectMake(0, 100, 375, 300);
    //    loopV.isPortrait = YES;//打开就会竖着显示
    [self.view addSubview:loopV];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
